export default {
  namespaced: true,
  state: {
    token: "",
    userInfo: '',
    backPath: {}
  },
  mutations: {
    setToken(state, value) {
      state.token = value
    },
    setUserInfo(state, value) {
      state.userInfo = value
    },
    logout(state) {
      state.token = ''
      state.userInfo = ''
    },
    setBackPath(state, val) {
      state.backPath = val
    }
  },
  actions: {},
  getters: {}
}